package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TBill;
import com.esyoga.yoyoga.pojo.TBillExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TBillMapper {
    long countByExample(TBillExample example);

    int deleteByExample(TBillExample example);

    int deleteByPrimaryKey(Integer bId);

    int insert(TBill record);

    int insertSelective(TBill record);

    List<TBill> selectByExample(TBillExample example);

    TBill selectByPrimaryKey(Integer bId);

    int updateByExampleSelective(@Param("record") TBill record, @Param("example") TBillExample example);

    int updateByExample(@Param("record") TBill record, @Param("example") TBillExample example);

    int updateByPrimaryKeySelective(TBill record);

    int updateByPrimaryKey(TBill record);
}